コード例 #1
0
 public AlbumController(IMySqlRepository repository, UserManager <ApplicationUser> userManager, IHostingEnvironment IHostingEnvironment)
 {
     _repository  = repository;
     _userManager = userManager;
     _environment = IHostingEnvironment;
     try
     {
         _commentedPhoto = _repository.GetLastCommentedPhoto().Id;
     }
     catch (Exception e)
     {
     }
     _admin = "*****@*****.**";
 }