Exemple #1
0
 public ApiResult DeleteEntity([FromBody] RequestGetEntityDTO request)
 {
     return(userOPDRegisterService.Delete(request.OPDRegisterID).ToApiResultForBoolean());
 }
Exemple #2
0
 public ApiResult GetEntity([FromBody] RequestGetEntityDTO request)
 {
     return(userOPDRegisterService.Single(request.OPDRegisterID).ToApiResultForObject());
 }