Exemple #1
0
        public Response DeleteDVD(int id)
        {
            Response response = new Response();

            _dvdRepo.Delete(id);

            response.Success = true;
            response.Message = "DVD has been deleted.";
            return(response);
        }
Exemple #2
0
        public void Delete(int id)
        {
            IDVDRepo repo = Factory.Create();

            repo.Delete(id);
        }