26 lines
585 B
C#
26 lines
585 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using AdminService.Notices.Param;
|
||
|
|
using UserDomain.Entity;
|
||
|
|
|
||
|
|
namespace AdminService.Notices
|
||
|
|
{
|
||
|
|
public interface INoticeService
|
||
|
|
{
|
||
|
|
|
||
|
|
Task<(bool isok, string msg)> Add(AddNoticeParam param);
|
||
|
|
Task<(bool isok, string msg)> Update(UpdateNoticeParam param);
|
||
|
|
|
||
|
|
Task<(bool isok, string msg)> Delete(string id);
|
||
|
|
|
||
|
|
Task<Notice> Get(string id);
|
||
|
|
|
||
|
|
|
||
|
|
Task<(List<Notice> list, long count)> GetList(GetNoticeListParam param);
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|