Beispiel #1
0
        public Film Edit(int id, [FromBody] Dto.CreateFilm value)
        {
            var edited = repository.Edit(id, value);

            if (edited == null)
            {
                return(null);
            }
            else
            {
                return(edited);
            }
        }