BMA EHR API Document

Loading...
Searching...
No Matches
Public Member Functions | List of all members
BMA.EHR.Placement.Service.Controllers.PlacementController Class Reference
Inheritance diagram for BMA.EHR.Placement.Service.Controllers.PlacementController:

## Public Member Functions
| PlacementController (PlacementRepository repository, NotificationRepository repositoryNoti, ApplicationDBContext context, MinIOService documentService, IHttpContextAccessor httpContextAccessor)
async Task< ActionResult< ResponseObject > > | Get ()
async Task< ActionResult< ResponseObject > > | GetFiscal ()
async Task< ActionResult< ResponseObject > > | GetExam (int year)
async Task< ActionResult< ResponseObject > > | GetExamByPlacement (Guid examId)
async Task< ActionResult< ResponseObject > > | GetProfileByUser (Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdatePropertyByUser ([FromBody] List< PersonPropertyRequest > req, Guid personalId)
async Task< ActionResult< ResponseObject > > | GetDashboardByPlacement (Guid examId)
async Task< ActionResult< ResponseObject > > | UpdatePersonDeferment ([FromForm] PersonDefermentRequest req)
async Task< ActionResult< ResponseObject > > | UpdatePersonDisclaim ([FromBody] PersonDisclaimRequest req)
async Task< ActionResult< ResponseObject > > | GetPersonDeferment (Guid personalId)
async Task< ActionResult< ResponseObject > > | GetPersonDisclaim (Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdatePositionByPerson ([FromBody] PersonSelectPositionRequest req)
async Task< ActionResult< ResponseObject > > | UpdateInformation ([FromBody] PersonInformationRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdateAddress ([FromBody] PersonAddressRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdateFamily ([FromBody] PersonFamilyRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | CreateCertificate ([FromBody] PersonCertificateRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdateCertificate ([FromBody] PersonCertificateRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | DeleteCertificate (Guid personalId, Guid certificateId)
async Task< ActionResult< ResponseObject > > | CreateEducation ([FromBody] PersonEducationRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdateEducation ([FromBody] PersonEducationRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | DeleteEducation (Guid educationId)
async Task< ActionResult< ResponseObject > > | GetPositionUse ()
async Task< ActionResult< ResponseObject > > | UpdatePositionDraft ([FromBody] List< Guid > items, Guid personalId)
async Task< ActionResult< ResponseObject > > | UpdatePositionDraft (Guid personalId)
async Task< ActionResult< ResponseObject > > | GetUserByOrganization (Guid personalId)
async Task< ActionResult< ResponseObject > > | GetPathFile (Guid docId)
async Task< ActionResult< ResponseObject > > | UpdateDoc ([FromForm] PlacementFileRequest req, Guid personalId)
async Task< ActionResult< ResponseObject > > | DeleteDoc (Guid personalId, Guid docId)

## Additional Inherited Members
Protected Member Functions inherited from BMA.EHR.Domain.Common.BaseController
virtual ActionResult< ResponseObject > | Success (string message, object? result=null)
virtual ActionResult< ResponseObject > | Success (object? result=null)
virtual ActionResult< ResponseObject > | Error (string message, string result, int statusCode=StatusCodes.Status500InternalServerError)
virtual ActionResult< ResponseObject > | Error (string message, int statusCode=StatusCodes.Status500InternalServerError)
virtual ActionResult< ResponseObject > | Error (Exception exception, string message, int statusCode=StatusCodes.Status500InternalServerError)
virtual ActionResult< ResponseObject > | Error (Exception exception, int statusCode=StatusCodes.Status500InternalServerError)

## Constructor & Destructor Documentation

## ◆ PlacementController()

BMA.EHR.Placement.Service.Controllers.PlacementController.PlacementController | ( | PlacementRepository | repository,
|  | NotificationRepository | repositoryNoti,
|  | ApplicationDBContext | context,
|  | MinIOService | documentService,
|  | IHttpContextAccessor | httpContextAccessor
| ) |  |
| inline

## Member Function Documentation

## ◆ CreateCertificate()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.CreateCertificate | ( | [FromBody] PersonCertificateRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ CreateEducation()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.CreateEducation | ( | [FromBody] PersonEducationRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ DeleteCertificate()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.DeleteCertificate | ( | Guid | personalId,
|  | Guid | certificateId
| ) |  |
| inline

## ◆ DeleteDoc()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.DeleteDoc | ( | Guid | personalId,
|  | Guid | docId
| ) |  |
| inline

## ◆ DeleteEducation()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.DeleteEducation | ( | Guid | educationId | ) |
| inline

## ◆ Get()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.Get | ( |  | ) |
| inline

## ◆ GetDashboardByPlacement()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetDashboardByPlacement | ( | Guid | examId | ) |
| inline

## ◆ GetExam()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetExam | ( | int | year | ) |
| inline

## ◆ GetExamByPlacement()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetExamByPlacement | ( | Guid | examId | ) |
| inline

## ◆ GetFiscal()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetFiscal | ( |  | ) |
| inline

## ◆ GetPathFile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetPathFile | ( | Guid | docId | ) |
| inline

## ◆ GetPersonDeferment()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetPersonDeferment | ( | Guid | personalId | ) |
| inline

## ◆ GetPersonDisclaim()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetPersonDisclaim | ( | Guid | personalId | ) |
| inline

## ◆ GetPositionUse()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetPositionUse | ( |  | ) |
| inline

## ◆ GetProfileByUser()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetProfileByUser | ( | Guid | personalId | ) |
| inline

## ◆ GetUserByOrganization()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.GetUserByOrganization | ( | Guid | personalId | ) |
| inline

## ◆ UpdateAddress()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateAddress | ( | [FromBody] PersonAddressRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdateCertificate()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateCertificate | ( | [FromBody] PersonCertificateRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdateDoc()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateDoc | ( | [FromForm] PlacementFileRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdateEducation()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateEducation | ( | [FromBody] PersonEducationRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdateFamily()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateFamily | ( | [FromBody] PersonFamilyRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdateInformation()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdateInformation | ( | [FromBody] PersonInformationRequest | req,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdatePersonDeferment()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePersonDeferment | ( | [FromForm] PersonDefermentRequest | req | ) |
| inline

## ◆ UpdatePersonDisclaim()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePersonDisclaim | ( | [FromBody] PersonDisclaimRequest | req | ) |
| inline

## ◆ UpdatePositionByPerson()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePositionByPerson | ( | [FromBody] PersonSelectPositionRequest | req | ) |
| inline

## ◆ UpdatePositionDraft() [1/2]

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePositionDraft | ( | [FromBody] List< Guid > | items,
|  | Guid | personalId
| ) |  |
| inline

## ◆ UpdatePositionDraft() [2/2]

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePositionDraft | ( | Guid | personalId | ) |
| inline

## ◆ UpdatePropertyByUser()

async Task< ActionResult< ResponseObject > > BMA.EHR.Placement.Service.Controllers.PlacementController.UpdatePropertyByUser | ( | [FromBody] List< PersonPropertyRequest > | req,
|  | Guid | personalId
| ) |  |
| inline

The documentation for this class was generated from the following file:

- BMA.EHR.Placement.Service/Controllers/PlacementController.cs