Ejemplo n.º 1
0
        public bool Delete(ClientTestimonials testi)
        {
            var clientLogoId    = testi.ClientLogoId;
            var personPictureId = testi.PersonPictureId;

            var deleted = testimonialsRepository.Delete(testi);

            if (deleted)
            {
                mediaStorageService.Delete(clientLogoId);
                mediaStorageService.Delete(personPictureId);
            }

            return(deleted);
        }
Ejemplo n.º 2
0
 public bool Update(ClientTestimonials testi)
 {
     return(testimonialsRepository.Update(testi));
 }
Ejemplo n.º 3
0
 public bool Insert(ClientTestimonials testi)
 {
     return(testimonialsRepository.Insert(testi));
 }