Example #1
0
 public WritersController(IWritersService writer, ILogsService logs, IHttpContextAccessor httpContext, IMemoryCache memcache)
 {
     _writer      = writer;
     _logs        = logs;
     _httpContext = httpContext;
     _memcache    = memcache;
 }
Example #2
0
 public SongsController(ISongsService songsService, ISongsPerformersService songsPerformersService, IAlbumsService albumsServicec, IWritersService writersService)
 {
     this.songsService           = songsService;
     this.songsPerformersService = songsPerformersService;
     this.albumsServicec         = albumsServicec;
     this.writersService         = writersService;
 }
 public WritersController(IWritersService writersService, ISongsService songsService)
 {
     this.writersService = writersService;
     this.songsService   = songsService;
 }