blob: 812048823423999211cf27ef844f4bd8cec47687 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using DevHive.Data.Models;
using AutoMapper;
using DevHive.Services.Models.Comment;
namespace DevHive.Services.Configurations.Mapping
{
public class CommentMappings : Profile
{
public CommentMappings()
{
CreateMap<CommentServiceModel, Comment>();
CreateMap<Language, CommentServiceModel>();
CreateMap<UpdateCommentServiceModel, Language>();
CreateMap<GetByIdCommentServiceModel, Language>();
}
}
}
|