using Marco.Pms.DataAccess.Data; using Marco.Pms.Model.Dtos.Inventory; using Marco.Pms.Model.Employees; using Marco.Pms.Model.Utilities; using Marco.Pms.Services.Service.ServiceInterfaces; using Microsoft.EntityFrameworkCore; namespace Marco.Pms.Services.Service { public class InventoryService : IInventoryService { private readonly ApplicationDbContext _context; public InventoryService(ApplicationDbContext context) { _context = context; } #region =================================================================== Items APIs =================================================================== public async Task> CreateItemAsync(ItemDto model, Employee loggedInEmployee, Guid tenantId) { var item = await _context.ProductDetails.FirstOrDefaultAsync(); return ApiResponse.SuccessResponse(new { }, "", 200); } public async Task> SuspendItemAsync(Guid id, bool isActive, Employee loggedInEmployee, Guid tenantId) { var item = await _context.ProductDetails.FirstOrDefaultAsync(); return ApiResponse.SuccessResponse(new { }, "", 200); } #endregion } }