fix
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace MyOffice.Web.Models.Dashboard;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Services.Dashboard.Domain;
|
||||
|
||||
public class DashboardIncomeDataViewModel : DashboardIncomeData, IResponseModel
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class DashboardIncomeDataViewModelProfile : Profile
|
||||
{
|
||||
public DashboardIncomeDataViewModelProfile()
|
||||
{
|
||||
CreateMap<DashboardIncomeData, DashboardIncomeDataViewModel>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace MyOffice.Web.Models.Dashboard;
|
||||
|
||||
using AutoMapper;
|
||||
using MyOffice.Services.Dashboard.Domain;
|
||||
|
||||
public class DashboardViewModel : DashboardData, IResponseModel
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class DashboardViewModelProfile : Profile
|
||||
{
|
||||
public DashboardViewModelProfile()
|
||||
{
|
||||
CreateMap<DashboardData, DashboardViewModel>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user