Created
January 30, 2019 13:28
-
-
Save evgomes/55545874534fa574b738ad6e31197ef1 to your computer and use it in GitHub Desktop.
ResourceToModelProfile from Supermarket API (initial code)
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 ResourceToModelProfile : Profile | |
{ | |
public ResourceToModelProfile() | |
{ | |
CreateMap<SaveCategoryResource, Category>(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment