public void AddAdjuster() { DLModel.AdjusterFirstName = "Rohit"; DLModel.AdjusterLastName = "K Dhiman"; DLModel.AdjusterPhone = "675-765-7657"; DLModel.AdjusterFax = "132-123-1q32"; DLModel.AdjusterEmail = "*****@*****.**"; int adjusterid = _adjusterImplBL.AddAdjusterRecord(DLModel); Assert.IsTrue(true, "Unable to find"); }
public ActionResult AddAdjuster(Adjuster objAdjuster) { try { objAdjuster.AdjusterId = _adjusterBL.AddAdjusterRecord(Mapper.Map <LMGEDI.Core.Data.Model.Adjuster>(objAdjuster)); return(Json(objAdjuster, GlobalConst.ContentTypes.TextHtml)); } catch (Exception ex) { _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace); return(View()); } }