Пример #1
0
 public EditComments(WebProgrammingProject1.Context.ShareItContext context, IHttpContextAccessor _httpContextAccessor)
 {
     _context = context;
     this._httpContextAccessor = _httpContextAccessor;
     this._session             = this._httpContextAccessor.HttpContext.Session;
 }
Пример #2
0
 public DeleteModel(WebProgrammingProject1.Context.ShareItContext context, IHttpContextAccessor _httpContextAccessor)
 {
     _context = context;
     this._httpContextAccessor = _httpContextAccessor;
     _session = this._httpContextAccessor.HttpContext.Session;
 }
Пример #3
0
 public EditModel(WebProgrammingProject1.Context.ShareItContext context, IHttpContextAccessor accessor)
 {
     _context             = context;
     _httpContextAccessor = accessor;
     _session             = _httpContextAccessor.HttpContext.Session;
 }
 public CreateCategory(WebProgrammingProject1.Context.ShareItContext context, IHttpContextAccessor _httpContextAccessor)
 {
     _context = context;
     this._httpContextAccessor = _httpContextAccessor;
     _session = _httpContextAccessor.HttpContext.Session;
 }
 public EditMyPosts(WebProgrammingProject1.Context.ShareItContext context)
 {
     _context = context;
 }