public static void Map(ProjectModel source, Project destination) { Mapper.Map(source, destination); destination.Status = (short)source.Status; }
public static void Map(Project source, ProjectModel destination) { Mapper.Map(source, destination); destination.Status = (ProjectStatus)source.Status; }