private MyDiary.Application.Services.Abstract.DTO.IIncome MapIncomeDomainToDTO(MyDiary.Domain.Abstract.Domains.IIncome incomeDomain) { return(new MyDiary.Application.Services.DTO.Income() { //RowNumber = incomeDomain.RowNumber, IncomeId = incomeDomain.IncomeId, IncomeType = this.MapIncomeTypeDomainToDTO(incomeDomain.IncomeType), UserId = incomeDomain.UserId, Amount = incomeDomain.Amount, Description = incomeDomain.Description, IncomeDate = incomeDomain.IncomeDate, CreatedBy = incomeDomain.CreatedBy, ModifiedBy = incomeDomain.ModifiedBy, TotalCount = incomeDomain.TotalCount, Comments = incomeDomain.Comments, ModifiedDate = incomeDomain.ModifiedDate }); }
public IncomeService(MyDiary.Domain.Abstract.Domains.IIncome incomeDomain, MyDiary.Domain.Abstract.Domains.IIncomeType incomeTypesDomain) { _incomeDomain = incomeDomain; _incomeTypesDomain = incomeTypesDomain; }