Files
WMSlite/WmsLite.Api/Services/Interfaces/IMaterialService.cs
T
zhougfandCursor fa1b286463 Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
Implement API security baseline (sys_user, JWT, audit fields, transactions,
unique constraints) and Web real login with 401 handling. Document setup
and development workflows in root, WmsLite.Api, and WmsLite.Web README files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 14:17:47 +08:00

19 lines
555 B
C#

using System.Threading.Tasks;
using WmsLite.Api.Common;
using WmsLite.Api.Dtos.Material;
namespace WmsLite.Api.Services.Interfaces;
public interface IMaterialService
{
Task<PagedResult<MaterialViewDto>> GetPagedListAsync(MaterialPagedQuery query);
Task<MaterialViewDto?> GetByIdAsync(long id, string tenantId, string ownerCode);
Task<MaterialViewDto> CreateAsync(MaterialSaveRequest request);
Task<MaterialViewDto?> UpdateAsync(MaterialUpdateRequest request);
Task<int> DeleteAsync(long id, string tenantId, string ownerCode);
}