strong ressources and interface

This commit is contained in:
2019-06-17 20:52:51 +01:00
parent 0e6efa4272
commit 883a6e2bd9
44 changed files with 2456 additions and 414 deletions

View File

@ -17,11 +17,11 @@ namespace Yavsc.Controllers
public class ActivityController : Controller
{
private ApplicationDbContext _context;
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR;
IStringLocalizer<Yavsc.YavscLocalisation> SR;
ILogger logger;
public ActivityController(ApplicationDbContext context,
IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR,
IStringLocalizer<Yavsc.YavscLocalisation> SR,
ILoggerFactory loggerFactory)
{
_context = context;