using MTWorkHR.Application.Models; using MTWorkHR.Core.UnitOfWork; using MTWorkHR.Application.Services.Interfaces; using MTWorkHR.Core.Entities; namespace MTWorkHR.Application.Services { public class UserTaskService : BaseService, IUserTaskService { private readonly IUnitOfWork _unitOfWork; //private readonly AppSettingsConfiguration _configuration; //private readonly GlobalInfo _globalInfo; public UserTaskService(IUnitOfWork unitOfWork):base(unitOfWork) { _unitOfWork = unitOfWork; } //public override async Task GetById(long id) //{ // var entity = await _unitOfWork.Project.GetByIdAsync(id); // var response = MapperObject.Mapper.Map(entity); // return response; //} //public override async Task> GetAll() //{ // var projects = await _unitOfWork.Project.GetAllAsync(); // var response = MapperObject.Mapper.Map>(projects); // return response; //} //public override async Task Delete(long id) //{ // var entity = await _unitOfWork.Project.GetByIdAsync(id); // await _unitOfWork.Project.DeleteAsync(entity); //} } }