You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
610 B
Plaintext
16 lines
610 B
Plaintext
2 years ago
|
using Magic.Core;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
using System.Threading.Tasks;
|
||
|
using Magic.Application.Entity;
|
||
|
namespace @Model.NameSpace
|
||
|
{
|
||
|
public interface I@(@Model.ClassName)Service
|
||
|
{
|
||
|
Task Add(Add@(@Model.ClassName)Input input);
|
||
|
Task Delete(Delete@(@Model.ClassName)Input input);
|
||
|
Task<@(@Model.ClassName)> Get([FromQuery] Querye@(@Model.ClassName)Input input);
|
||
|
Task<dynamic> List([FromQuery] @(@Model.ClassName)Input input);
|
||
|
Task<dynamic> Page([FromQuery] @(@Model.ClassName)Input input);
|
||
|
Task Update(Update@(@Model.ClassName)Input input);
|
||
|
}
|
||
|
}
|