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