public IHttpActionResult Post(CostDtl baseRequest) { baseRequest.OrgId = SecurityHelper.CurrentPrincipal.OrgId; var response = service.SaveCostDtl(baseRequest); return(Ok(response)); }
public BaseResponse <CostDtl> SaveCostDtl(CostDtl request) { return(base.Save <LTC_COSTDTL, CostDtl>(request, (q) => q.ID == request.Id)); }