Example #1
0
 public UnitOfMeasure UpdateUnitOfMeasure(int unitId, [FromBody] UnitOfMeasure oUnitOfMeasure)
 {
     if (ModelState.IsValid)
     {
         return(_iUnitOfMeasureService.UpdateUnitOfMeasure(unitId, oUnitOfMeasure));
     }
     else
     {
         return(null);
     }
 }