예제 #1
0
        public async Task <Cartoon> UpdateAsync(CartoonUpdateModel cartoonUpdateModel)
        {
            await GenreGetService.ValidateAsync(cartoonUpdateModel);

            return(await CartoonDataAccess.UpdateAsync(cartoonUpdateModel));
        }
예제 #2
0
        public async Task <Movie> UpdateAsync(MovieUpdateModel movieUpdateModel)
        {
            await GenreGetService.ValidateAsync(movieUpdateModel);

            return(await MovieDataAccess.UpdateAsync(movieUpdateModel));
        }