public CaseController(ICaseService caseService, IIdentityService identityService, IMasterService masterService, IPremiseService premiseService) { _caseService = caseService; _identityService = identityService; _masterService = masterService; _premiseService = premiseService; }
/// <summary> /// Initializes a new instance of the <see cref="PremiseController"/> class. /// </summary> public PremiseController() { this.premiseService = new PremiseService(); }
public PremiseController(IPremiseService premiseService) { _premiseService = premiseService; }
public UserController() { this.userService = new UserService(); this.premiseService = new PremiseService(); this.context = new ContextInfoAccessorService(); }