2023-01-15 14:32:43 +08:00
|
|
|
|
using AutoMapper;
|
2023-01-15 17:32:27 +08:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
2023-01-15 14:32:43 +08:00
|
|
|
|
using System;
|
2023-01-12 18:30:57 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2023-01-15 17:32:27 +08:00
|
|
|
|
using Yi.Framework.Core.Model;
|
2023-01-12 18:30:57 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Ddd.Services
|
|
|
|
|
|
{
|
|
|
|
|
|
public abstract class ApplicationService
|
2023-01-15 14:32:43 +08:00
|
|
|
|
{
|
2023-01-15 17:32:27 +08:00
|
|
|
|
public IMapper _mapper { get => ServiceLocatorModel.Instance.GetRequiredService<IMapper>(); }
|
2023-01-12 18:30:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|