예제 #1
0
        public void addAttorneyFirms()
        {
            AttorneyFirm _attorneyFirm = new AttorneyFirm
            {
                AttorneyFirmName   = "Gurleen",
                AttAddress1        = "Jal Baba buda ji enclave",
                AttAddress2        = "fdg ",
                AttCity            = "Nokadar",
                AttorneyFirmTypeID = 2,
                AttorneyFirmID     = 0,
                AttPhone           = "111111111",
                AttFax             = "998559999",
                AttStateID         = 7,
                AttZip             = "9000777"
            };
            var _id = _attorneyRepository.addAttorneyFirm(_attorneyFirm);

            Assert.IsTrue(_id > 0, "failed");
        }
예제 #2
0
 public int addAttorneyFirm(AttorneyFirm _attorneyFirm)
 {
     return(_iAttorneyRepository.addAttorneyFirm(Mapper.Map <DTO.AttorneyFirm, MMC.Core.Data.Model.AttorneyFirm>(_attorneyFirm)));
 }