コード例 #1
0
 public UsersBL(InfraEntities ctx, ILogsBL logger)
 {
     _ctx         = ctx;
     _logger      = logger;
     _maxPageSize = string.IsNullOrEmpty(ConfigurationManager.AppSettings.Get("MaxPageSize")) ? 100
         : int.Parse(ConfigurationManager.AppSettings.Get("MaxPageSize").ToString());
 }
コード例 #2
0
 public LogsController()
 {
     _logsBL = new LogsBL();
     _httpResponseMessageBuilder = new HttpResponseMessageBuilder();
 }
コード例 #3
0
 public LogsController(ILogsBL bl)
 {
     _bl = bl;
 }
コード例 #4
0
 public AccountController(IUsersBL user, ILogsBL logbl)
 {
     //_user = user;
     _user = new UsersBL(System.Web.HttpContext.Current.GetOwinContext().Get <Core.Domain.InfraEntities>(), logbl);
 }