Beispiel #1
0
        public JsonResult getClientAll()
        {
            ClientViewModel objClientAll = new ClientViewModel();

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