22 lines
493 B
C#
22 lines
493 B
C#
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
|
|
};
|
|
}
|
|
}
|
|
}
|