BistroDriveWebApp.Models.IngridientsBuyerRepository.GetIngridientBuyerById C# (CSharp) 메소드

GetIngridientBuyerById() 공개 메소드

public GetIngridientBuyerById ( int id ) : orderingridientbuyer
id int
리턴 orderingridientbuyer
        public orderingridientbuyer GetIngridientBuyerById(int id)
        {
            return context.orderingridientbuyers.FirstOrDefault(o => o.Id_IngridientBuyer == id);
        }