Esempio n. 1
0
        public void AddInsurer()
        {
            DLModel.InsurerName    = "Test123";
            DLModel.InsurerAddress = "InsurerAddress";
            DLModel.InsurerCity    = "InsurerCity";
            DLModel.InsurerPhone   = "(321)-321-1324";
            DLModel.InsurerStateID = 1;
            DLModel.InsurerZip     = "90029-1234";
            int insurerId = _IInsurerImplBL.AddInsurerRecord(DLModel);

            Assert.IsTrue(true, "Unable to find");
        }
Esempio n. 2
0
 public ActionResult AddInsurer(Insurer objInsurer)
 {
     try
     {
         objInsurer.InsurerId = _insurerBL.AddInsurerRecord(Mapper.Map <LMGEDI.Core.Data.Model.Insurer>(objInsurer));
         return(Json(objInsurer, GlobalConst.ContentTypes.TextHtml));
     }
     catch (Exception ex)
     {
         _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace);
         return(View());
     }
 }