public JsonResult getClientAll() { ClientViewModel objClientAll = new ClientViewModel(); objClientAll.ClientDetails = Mapper.Map <IEnumerable <Client> >(_iClientService.getClientAll()); return(Json(objClientAll.ClientDetails, GlobalConst.ContentTypes.TextHtml, JsonRequestBehavior.AllowGet)); }
public JsonResult getClientAll() { return(Json(_iClientService.getClientAll(), GlobalConst.ContentTypes.TextHtml, JsonRequestBehavior.AllowGet)); }