Example #1
0
 public void Add(BllPhoto photo)
 {
     photoRepository.Insert(photo.ToDalPhoto());
 }
Example #2
0
 public void AddPhoto(BllPhoto photo)
 {
     uow.Photos.Create(photo.ToDalPhoto());
     uow.Commit();
 }
Example #3
0
 public void UpdatePhoto(BllPhoto photo)
 {
     uow.Photos.Update(photo.ToDalPhoto());
     uow.Commit();
 }
Example #4
0
 /// <summary>
 /// create photo entity
 /// </summary>
 /// <param name="photo">photo entity on BLL</param>
 public void Create(BllPhoto photo)
 {
     photoRepository.Create(photo.ToDalPhoto());
     uow.Commit();
 }