|
|
|
using Myshipping.Core;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Myshipping.Application.Entity;
|
|
|
|
namespace @Model.NameSpace
|
|
|
|
{
|
|
|
|
public interface I@(@Model.ClassName)Service
|
|
|
|
{
|
|
|
|
Task<dynamic> Page([FromQuery] Query@(@Model.ClassName)Input input);
|
|
|
|
Task Add(Add@(@Model.ClassName)Input input);
|
|
|
|
Task Update(Update@(@Model.ClassName)Input input);
|
|
|
|
Task Delete(Get@(@Model.ClassName)Input input);
|
|
|
|
Task<@(@Model.ClassName)> Get([FromQuery] Get@(@Model.ClassName)Input input);
|
|
|
|
//Task<dynamic> List([FromQuery] Query@(@Model.ClassName)Input input);
|
|
|
|
}
|
|
|
|
}
|