Пример #1
0
 public AgreementService(ILeadContext <Lead> context,
                         ICrmContractsService contractsService,
                         ICrmContactService contactService,
                         IMapper mapper,
                         IUserManager <GearUser> userManager,
                         INotify <GearRole> notify)
 {
     _context          = context;
     _contractsService = contractsService;
     _contactService   = contactService;
     _mapper           = mapper;
     _userManager      = userManager;
     _notify           = notify;
 }
Пример #2
0
 public ContactController(ICrmContactService contactService, IAgreementService agreementService)
 {
     _contactService   = contactService;
     _agreementService = agreementService;
 }