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); }
public bool Update(ClientTestimonials testi) { return(testimonialsRepository.Update(testi)); }
public bool Insert(ClientTestimonials testi) { return(testimonialsRepository.Insert(testi)); }