mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
28 lines
703 B
C#
28 lines
703 B
C#
using CartriX.Api.Interfaces;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace CartriX.Api.Services
|
|
{
|
|
public class ManufacturerService : IManufacturerService
|
|
{
|
|
//private readonly AppDbContext _context;
|
|
//public ManufacturerService(AppDbContext context)
|
|
//{
|
|
// _context = context;
|
|
//}
|
|
//public async Task<List<string>> GetNameListAsync()
|
|
//{
|
|
// var request = await _context.Manufacturers.ToListAsync();
|
|
|
|
// List<string> list = new List<string>();
|
|
// foreach (var model in request)
|
|
// {
|
|
// list.Add(model.name);
|
|
// }
|
|
|
|
// return list;
|
|
|
|
//}
|
|
}
|
|
}
|