fix
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
namespace MyOffice.Services.Account.Domain;
|
||||
/// <see cref="MyOffice.Data.Models.Accounts.AccountAccountCategory"/>
|
||||
namespace MyOffice.Services.Account.Domain;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Data.Models.Accounts;
|
||||
|
||||
public class AccountAccountCategoryDto
|
||||
{
|
||||
public Guid CategoryId { get; set; }
|
||||
public AccountCategoryDto? Category { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class AccountAccountCategoryDtoProfile: Profile
|
||||
{
|
||||
public AccountAccountCategoryDtoProfile()
|
||||
{
|
||||
CreateMap<AccountAccountCategory, AccountAccountCategoryDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user