コード例 #1
0
        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);
        }
コード例 #2
0
 public Lable CreateLabel(Lable lable)
 {
     return(lable);
 }