public HttpResponseMessage GetAdjustmentByStatusApproverId(string status, int approverId) { List <AdjustmentVM> adjustment = AdjustmentBL.GetAdjListByStatusApproverId(status, approverId); if (adjustment == null) { return(Request.CreateResponse(HttpStatusCode.InternalServerError)); } return(Request.CreateResponse(HttpStatusCode.OK, adjustment)); }
public static List <AdjustmentVM> GetAdjListByStatusApproverId(string status, int empid) { return(AdjustmentBL.GetAdjListByStatusApproverId(status, empid)); }