public async Task <IHttpActionResult> DeleteMasterValue(MasterValueViewModel model) { var masterVal = Mapper.Map <MasterValue>(model); await _masterValueService.Delete(masterVal); return(Ok()); }
public async Task <IHttpActionResult> ActiveMasterValue(MasterValueViewModel model) { await _masterValueService.Active(model.id); return(Ok()); }