public HttpResponseMessage GetTeamAccessReadByParam(HttpRequestMessage request, string search) { return(GetHttpResponse(request, () => { TeamAccessReadMtd obj = new TeamAccessReadMtd(); List <TeamAccessReadModel> dm = obj.GetTeamAccessReadUsingParams(search).ToList(); return request.CreateResponse(HttpStatusCode.OK, dm); })); }
public HttpResponseMessage GetTeamAccessRead(HttpRequestMessage request) { return(GetHttpResponse(request, () => { TeamAccessReadMtd obj = new TeamAccessReadMtd(); List <TeamAccessReadModel> dm = obj.GetTeamAccessRead().ToList(); return request.CreateResponse(HttpStatusCode.OK, dm); })); }