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; }
/// <summary> /// Constructor /// </summary> /// <param name="service"></param> public ContractsController(ICrmContractsService service, IAgreementService agreementService) { _service = service; _agreementService = agreementService; }