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()); }
public LogsController() { _logsBL = new LogsBL(); _httpResponseMessageBuilder = new HttpResponseMessageBuilder(); }
public LogsController(ILogsBL bl) { _bl = bl; }
public AccountController(IUsersBL user, ILogsBL logbl) { //_user = user; _user = new UsersBL(System.Web.HttpContext.Current.GetOwinContext().Get <Core.Domain.InfraEntities>(), logbl); }