public ActionResult getAdjusterByAdjusterName(string AdjusterName) { try { var getAllViewModel = _adjusterBL.GetAllAdjusterByAdjusterName(AdjusterName, GlobalConst.Records.Skip, GlobalConst.Records.FileTake); FileViewModel fileviewModel = new FileViewModel(); fileviewModel.AdjusterDetails = Mapper.Map <IEnumerable <AdjusterSearch> >(getAllViewModel.AdjusterDetails); return(Json(fileviewModel.AdjusterDetails, GlobalConst.ContentTypes.TextHtml)); } catch (Exception ex) { _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace); return(View()); } }
public void Get_AllAdjuster() { var getAllPatients = _adjusterImplBL.GetAllAdjusterByAdjusterName("t", 0, 10); Assert.IsTrue(getAllPatients != null, "Unable to find"); }