19 lines
420 B
C#
19 lines
420 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using AutoMapper;
|
|
using SessionCompanion.Database.Tables;
|
|
using SessionCompanion.ViewModels.UserViewModels;
|
|
|
|
namespace SessionCompanion.Services.Profiles
|
|
{
|
|
public class UserProfile : Profile
|
|
{
|
|
public UserProfile()
|
|
{
|
|
CreateMap<UserViewModel, User>();
|
|
CreateMap<User, UserViewModel>();
|
|
}
|
|
}
|
|
}
|