public UserController(IUserFacadeService facadeService) { if (facadeService == null) throw new Exception(" facade service can not be null"); this.FacadeService = facadeService; }
public UserController() { this.facedeService = new UserFacadeService(); }