public ReturnMessageModel SalaryRateSetupIns(SalaryRateSetupModel model) { ReturnMessageModel result = new ReturnMessageModel(); ObjectParameter returnMessage = new ObjectParameter("ReturnMessage", typeof(String)); using (PayrollEntities db = new PayrollEntities()) { db.SpSalaryRateSetupIns(model.SalaryRateSetupId, model.CompanyId, model.RateName, model.From, model.Upto, model.Rate, model.InsertUserId, returnMessage); result.ReturnMessage = returnMessage.Value.ToString(); return(result); } }
public object SalaryRateSetupIns(SalaryRateSetupModel model) { return(_iss.SalaryRateSetupIns(model)); }