Created
January 28, 2019 13:49
-
-
Save evgomes/9030a61943753475cd62b2bb421061fa to your computer and use it in GitHub Desktop.
ModelToResourceProfile, from Supermarket API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AutoMapper; | |
using Supermarket.API.Domain.Models; | |
using Supermarket.API.Resources; | |
namespace Supermarket.API.Mapping | |
{ | |
public class ModelToResourceProfile : Profile | |
{ | |
public ModelToResourceProfile() | |
{ | |
CreateMap<Category, CategoryResource>(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment