public ActionResult AddAlbum(string albumName)
 {
     Album alb = new Album
     {
         Name = albumName,
         CreatingDate = DateTime.Now,
         UserName=User.Identity.Name
     };
     repository.AddAlbum(alb);
     return RedirectToAction("Index");
 }
 public void DeleteAlbum(Album a)
 {
     context.Albums.Remove(a);
     context.SaveChanges();
 }
 public void AddAlbum(Album a)
 {
     context.Albums.Add(a);
     context.SaveChanges();
 }