public async Task <Lable> GetEtikettData(MyDbContext _context, int movieId, int MovieStudioId) { var movie = await _context.Movies.FindAsync(movieId); var movieStudio = await _context.MovieStudio.FindAsync(MovieStudioId); var lable = new Lable() { Date = DateTime.Now, MovieName = movie.Title, City = movieStudio.City }; return(lable); }
public Lable CreateLabel(Lable lable) { return(lable); }