public IHttpActionResult Get(int FeeNo, string OrgId) { BaseRequest <LeaveHospFilter> request = new BaseRequest <LeaveHospFilter> { Data = { FeeNo = FeeNo, OrgId = OrgId } }; var response = service.GetNewLeaveHosp(request); return(Ok(response)); }
public IHttpActionResult Get(int FeeNo, string OrgId) { BaseRequest <LeaveHospFilter> request = new BaseRequest <LeaveHospFilter> { Data = { FeeNo = FeeNo, OrgId = OrgId } }; var response = service.GetNewLeaveHosp(request); return(Ok(response)); }