public AuthorsController(MyComicListContext context, IAddAuthor addCommand, IUpdateAuthor updateCommand, IDeleteAuthor deleteCommand) { Context = context; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; }
public GenresController(MyComicListContext context, IAddGenre addCommand, IUpdateGenre updateCommand, IDeleteGenre deleteCommand) { Context = context; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; }
public AuthController(ITokenService <int, UserLoginDTO> tokenService, IPasswordService passwordService, IRegisterUser registerCommand, MyComicListContext context) { this.tokenService = tokenService; this.passwordService = passwordService; this.registerCommand = registerCommand; Context = context; }
public RolesController(MyComicListContext context, IAddRole addCommand, IUpdateRole updateCommand, IDeleteRole deleteCommand) { Context = context; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; }
public PublishersController(MyComicListContext context, IGetPublishers getCommand, IAddPublisher addCommand, IUpdatePublisher updateCommand, IDeletePublisher deleteCommand) { Context = context; this.getCommand = getCommand; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; }
public UsersController(MyComicListContext context, IGetUsers getCommand, IGetOneUser getOneCommand, IAddUser addCommand, IUpdateUser updateCommand, IDeleteUser deleteCommand, IPasswordService passwordService) { Context = context; this.getCommand = getCommand; this.getOneCommand = getOneCommand; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; this.passwordService = passwordService; }
public ComicsController(MyComicListContext context, IConfiguration config, IGetComics getCommand, IGetOneComic getOneCommand, IAddComic addCommand, IUpdateComic updateCommand, IDeleteComic deleteCommand) { Context = context; Config = config; this.getCommand = getCommand; this.getOneCommand = getOneCommand; this.addCommand = addCommand; this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; this.allowedFileUploadTypes = config.GetSection("AllowedFileUploadTypes") .AsEnumerable().Where(c => c.Value != null) .Select(c => c.Value) .ToList(); }
public EFUpdateAuthor(MyComicListContext context) : base(context) { }
public EFDeleteAuthor(MyComicListContext context) : base(context) { }
public EFAddPublisher(MyComicListContext context) : base(context) { }
public EFAddRole(MyComicListContext context) : base(context) { }
public EFGetUsers(MyComicListContext context) : base(context) { }
public EFRegisterUser(MyComicListContext context, IEmailSender emailSender) : base(context) { this.emailSender = emailSender; }
public EFDeleteRole(MyComicListContext context) : base(context) { }
protected EFBaseCommand(MyComicListContext context) => Context = context;
public EFAddAuthor(MyComicListContext context) : base(context) { }
public EFDeleteUser(MyComicListContext context) : base(context) { }
public EFGetPublishers(MyComicListContext context) : base(context) { }
public EFGetOneUser(MyComicListContext context) : base(context) { }
public JWTUserService(MyComicListContext context, IConfiguration config, IPasswordService passwordService) { this.context = context; this.config = config; this.passwordService = passwordService; }
public EFUpdateRole(MyComicListContext context) : base(context) { }
public LoginService(MyComicListContext context) { this.context = context; }
public EFAddComic(MyComicListContext context) : base(context) { genres = new List <ComicGenres>(); authors = new List <ComicAuthors>(); pictures = new List <Picture>(); }
public EFUpdateUser(MyComicListContext context) : base(context) { }
public EFGetMyList(MyComicListContext context) : base(context) { }
public EFDeleteFromMyList(MyComicListContext context) : base(context) { }
public EFAddToMyList(MyComicListContext context) : base(context) { }