Mapper NETMAUI-ba
This commit is contained in:
@@ -11,13 +11,14 @@ using WorkFlowCheck.Common.DTO;
|
||||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using WorkFlowCheck.MAUI.DataLayer;
|
||||
using AutoMapper;
|
||||
|
||||
namespace WorkFlowCheck.MAUI.Services
|
||||
{
|
||||
public class UserService : BaseService, IUserService
|
||||
{
|
||||
public UserDTO? CurrentUser { get; private set; }
|
||||
public UserService(HttpClient httpClient, IConfiguration configuration, AppDbContext dbContext) : base(httpClient, configuration, dbContext)
|
||||
public UserService(HttpClient httpClient, IConfiguration configuration, AppDbContext dbContext, IMapper mapper) : base(httpClient, configuration, dbContext, mapper)
|
||||
{
|
||||
}
|
||||
public async Task<ApiResponseDTO<UserDTO>> GetUserAsync()
|
||||
|
||||
Reference in New Issue
Block a user