Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FinkiChattery/FinkiChattery.Api/ApplicationServices/Questioning/Mapper/CategoryMapper.cs

    r31c006c r70e04f1  
    1 using FinkiChattery.Contracts.Questioning.GetCategories;
     1using FinkiChattery.Contracts.Questioning;
    22using FinkiChattery.Persistence.Models;
    33using System.Collections.Generic;
     
    88    public static class CategoryMapper
    99    {
    10         public static List<CategoryDto> ToCategoryDtos(this IEnumerable<Category> categories)
     10        public static List<CategoryResponse> ToCategoryDtos(this IEnumerable<Category> categories)
    1111        {
    12             var categoryDtos = new List<CategoryDto>();
     12            var categoryDtos = new List<CategoryResponse>();
    1313
    1414            if (categories.Any())
    1515            {
    16                 categoryDtos = categories.Select(x => new CategoryDto(x.Uid, x.Name)).ToList();
     16                categoryDtos = categories.Select(x => new CategoryResponse(x.Uid, x.Name)).ToList();
    1717            }
    1818
Note: See TracChangeset for help on using the changeset viewer.