public CustomerRepo(IHttpContextAccessor httpContextAccessor, MyContext DbContext, IRepoPhoto <Photo, int> repoPhoto, IRepoFaultLog repoFaultLog) : base(DbContext)
 {
     _httpContextAccessor = httpContextAccessor;
     _DbContext           = DbContext;
     _repoPhoto           = repoPhoto;
     _repoFaultLog        = repoFaultLog;
 }
示例#2
0
 public AdminRepo(UserManager <AppUser> userManager, MyContext DbContext, IRepoPhoto <Photo, int> repoPhoto)
 {
     _userManager = userManager;
     _DbContext   = DbContext;
     _repoPhoto   = repoPhoto;
 }