public Orders GetOrdersById(int?id) { Orders orders = iorders.GetOrdersById(id); return(orders); }
public IEnumerable <Orders> GetOrdersById(int?id) { var orders = iorders.GetOrdersById(id); return(orders); }