public void Create(DalPhoto e)
 {
     var photo = new Photo
     {
         Image = e.Image,
         Description = e.Description,
         LoadDate = e.LoadDate,
         User = context.Set<User>().First(u => u.Id == e.UserId),
     };
     photo.User.Profile = null;
     context.Set<Photo>().Add(photo);
 }
 public void Delete(DalPhoto e)
 {
     throw new NotImplementedException();
 }
 public void Update(DalPhoto entity)
 {
     throw new NotImplementedException();
 }