BiddingParticipantsController
Manages bidding participants and proposals for public procurement processes. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/BiddingParticipants
Dependencies
Database context for direct queries
Service layer for bidding participant operations
Service for managing bidding announcements
Actions
Index
Retrieves all bidding participants with their associated announcements.Requires
SuperAdmin or Admin roleView with collection of
ModelViewBiddingParticipantDetails (by ID)
Retrieves detailed information about a specific bidding participant.Unique identifier of the bidding participant
View with
ModelViewBiddingParticipant or NotFoundDetails (by Reference)
Retrieves participant details using a unique reference code.GUID reference code for the participant
/convocatorias/reference/{reference}Create (GET)
Displays the form to register a new bidding participant.ID of the announcement/convocatoria
Create (POST)
Registers a new bidding participant with proposal document.Participant data including proposal PDF
Delete
Removes a bidding participant and their proposal file.Participant ID to delete
Requires
SuperAdmin or Admin roleBlogController
Manages blog posts and news articles. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Blog
Dependencies
Database context
Service layer for blog operations
Actions
Index
Lists all blog posts for admin management.Requires
SuperAdmin or Admin roleView with collection of
ModelViewBlogNotice
Public-facing paginated news listing.Page number for pagination (default: 1)
/noticias6 posts per page
Details (by URL)
Displays a single blog post to public users.URL-friendly slug of the blog post
/noticias/{urlBlog}Create
Creates a new blog post with cover image.Blog post data
Edit
Updates an existing blog post.Blog post ID
Updated blog data
Cover page update is optional; existing image retained if not provided
CategoriesController
Manages service categories for the organization. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Categories
Dependencies
Service layer for category operations
Actions
Index
Lists all categories.Requires
SuperAdmin roleDetails (by Name)
Displays category details to public users.URL-friendly category name
/servicios/{nameCategory}Create
Creates a new service category.Category data with cover image
DocumentsController
Manages legal documents and file uploads. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Documents
Dependencies
Service layer for document operations
Database context for dropdown population
Actions
Document
Public listing of all legal documents./documentos-legalesView with collection of documents including associated files
Details (by URL)
Displays document details with downloadable files.URL-friendly document identifier
/documentos-legales/{urlName}Returns document with collection of FileDocument objects
Create
Creates a new document with multiple file uploads.Document metadata and files
PublicDocuments
Serves PDF files for download.File path within filesDocuments directory
PDF file with application/pdf content type
ProductsController
Manages service products offered by the organization. Namespace:prjESPSantaFeAnt.Controllers
Actions
ListProducts
Public listing of all available services/products./serviciosCreate
Adds a new product/service.Product data including icon and description
PQRSDsController
Handles PQRSD (Petitions, Complaints, Claims, Suggestions, and Congratulations) requests. Namespace:prjESPSantaFeAnt.Controllers
Dependencies
Service layer for PQRSD operations
Actions
Index
Lists all PQRSD submissions for admin review.Requires
SuperAdmin or Admin roleCollection showing submission status and type
Create
Public form for submitting PQRSD requests./formular-pqrsdCitizen request data
Returns unique reference code via TempData
Review
Administrative response to a PQRSD submission.Admin response and resolution
Details
View full PQRSD details including response if available.Unique PQRSD identifier
Complete request and response information
Common Patterns
Authorization
Most controllers use role-based authorization:Anti-Forgery Protection
All POST actions use[ValidateAntiForgeryToken] to prevent CSRF attacks.
Date Formatting
Dates are formatted using Spanish Colombian culture:File Handling
File uploads are processed throughIUploadedFileIIS service with validation:
- Images: JPG, JPEG, GIF, PNG (max 2MB)
- PDFs: PDF format (max 10MB)
HomeController
Main landing page and public-facing content controller. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/
Dependencies
Logging service for error tracking
Service to retrieve blog posts for homepage
Actions
Index
Displays the homepage with recent blog posts.Main landing page view with 3 most recent blog posts
Populates
ViewData["Blog"] with latest posts via LimitHome()About
Displays the “About Us” page.FunctionManual
Downloads the employee function manual PDF.PDF file stream for download
/files/manual-de-funciones.pdfPrivacy
Displays the privacy policy page.Error
Global error handler with request tracing.No caching for error pages
Error view with request ID for debugging
AdminController
Administrative functions for SuperAdmin users including role management and homepage customization. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Admin
Dependencies
ASP.NET Identity role manager
File upload service for cover page management
Actions
Index
Lists all system roles.Requires
SuperAdmin roleView with collection of roles from AspNetRoles table
Create (GET)
Displays role creation form.Create (POST)
Creates a new system role.Role data containing RoleName
Profile
User profile management page.Requires
SuperAdmin, Admin, or UserApp roleAddCoverpage (GET)
Displays form to upload homepage cover image.Requires
SuperAdmin or Admin roleAddCoverpage (POST)
Uploads a new homepage cover image.Contains IFormFile for JPG image
UploadedFileImage("Coverpague", model.File, string.Empty, true) with replace flag.
TempleteCoverage
Downloads the cover page design template.RAR file containing design guidelines
guia_para_la_portada.rarNacionLicitanteController
Manages public procurement announcements and bidding processes (Licitaciones). Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/NacionLicitante
Dependencies
Database context for queries
Service layer for announcement operations
Actions
Index
Administrative listing of all bidding announcements.Requires
SuperAdmin or Admin roleView with collection of
ModelViewNacionLicitante including dates formatted in SpanishDetails (by URL)
Public view of a specific bidding announcement with attached documents.URL-friendly announcement identifier
/convocatorias/{nameNacionLicitante}Create (GET)
Displays form to create new bidding announcement.Create (POST)
Creates a new bidding announcement with cover image and optional documents.Announcement data including dates and files
Delete (GET)
Displays confirmation view for announcement deletion.Announcement ID
DeleteConfirmed
Permanently removes announcement with all related files and documents.Announcement ID to delete
OfficialLicitante
Serves PDF documents for download.Filename within filesDocuments directory
Action name:
Documento-Oficial-de-la-convocatoriaListGetAll
Public listing of all active announcements./convocatoriasOnly displays announcements where
Statud == trueBrigadesController
Manages community brigade events and health campaigns. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Brigades
Dependencies
Service layer for brigade operations
Actions
Index
Administrative listing of all brigade events.Requires
SuperAdmin or Admin roleCollection of brigades with formatted dates (Spanish locale)
Details (by ID)
Administrative view of brigade details.Brigade ID
Details (by URL)
Public view of brigade event details.URL-friendly brigade identifier
/brigadas/{nameBrigade}Create (GET)
Displays form to create new brigade event.Create (POST)
Creates a new brigade event.Brigade data including event date and cover image
Delete (GET)
Displays confirmation for brigade deletion.DeleteConfirmed
Removes brigade event and cover image.Brigade ID
BrigadesGetAll
Public listing of all brigade events./brigadasEmployeesController
Manages organization employees and staff directory. Namespace:prjESPSantaFeAnt.ControllersRoute Prefix:
/Employees
Dependencies
Service layer for employee operations
Actions
Index
Administrative listing of all employees.Requires
SuperAdmin or Admin roleCollection of employees with ID, name, occupation, and photo
Create (GET)
Displays employee registration form.Create (POST)
Registers a new employee.Employee data including name, occupation, and photo
Delete (GET)
Displays confirmation for employee deletion.Employee ID
DeleteConfirmed
Removes employee record and photo.Employee ID
ListEmployees
Public staff directory page./funcionariosAnonymous access allowed