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>
21 lines
649 B
C#
21 lines
649 B
C#
using System.Threading.Tasks;
|
|
using WmsLite.Api.Common;
|
|
using WmsLite.Api.Dtos.Location;
|
|
|
|
namespace WmsLite.Api.Services.Interfaces;
|
|
|
|
public interface ILocationService
|
|
{
|
|
Task<PagedResult<LocationViewDto>> GetPagedListAsync(LocationPagedQuery query);
|
|
|
|
Task<LocationViewDto?> GetByIdAsync(long id, string tenantId, string ownerCode);
|
|
|
|
Task<LocationViewDto> CreateAsync(LocationSaveRequest request);
|
|
|
|
Task<LocationViewDto?> UpdateAsync(LocationUpdateRequest request);
|
|
|
|
Task<int> DeleteAsync(long id, string tenantId, string ownerCode);
|
|
|
|
Task<LocationBatchCreateResultDto> BatchCreateAsync(LocationBatchCreateRequest request);
|
|
}
|