first commit
This commit is contained in:
21
Complex.Application/Services/Basic/AppCommonService.cs
Normal file
21
Complex.Application/Services/Basic/AppCommonService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Complex.Common.Dto;
|
||||
using Complex.Domain.Entities;
|
||||
|
||||
namespace Complex.Application.AppCommon
|
||||
{
|
||||
public interface IAppCommonService
|
||||
{
|
||||
ResultDto<Poster> GetPoster();
|
||||
}
|
||||
public class AppCommonService : IAppCommonService
|
||||
{
|
||||
public ResultDto<Poster> GetPoster()
|
||||
{
|
||||
return new ResultDto<Poster>
|
||||
{
|
||||
Data = new Poster { ImagePath = "banner.png" },
|
||||
IsSuccess = true
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user