public ActionResultApi <UnitMeasurementTypeDTO> create([FromBody] UnitMeasurementTypeDTO model)
 {
     return(new ActionResultApi <UnitMeasurementTypeDTO>(HttpStatusCode.OK, unitMeasurementTypeDAL.create(model), Request));
 }
Exemplo n.º 2
0
 public UnitMeasurementTypeDTO create(UnitMeasurementTypeDTO model)
 {
     return((UnitMeasurementTypeDTO)unitMeasurementTypeRepository.create((TipoUnidadMedida)model));
 }