public static UserApiModel Map(AspNetUser user) { return new UserApiModel() { id = user.Id, photo = "https://pp.vk.me/c412226/v412226567/3259/6oLwMrRQC6A.jpg", //user.photo, username = user.UserName, meetingsCount = user.getMeetingsCount() }; return (UserApiModel) new CommonMapper().Map(user, typeof(AspNetUser), typeof(UserApiModel)); }
public bool Create(AspNetUser instance) { throw new NotImplementedException(); }
partial void UpdateAspNetUser(AspNetUser instance);
partial void DeleteAspNetUser(AspNetUser instance);
partial void InsertAspNetUser(AspNetUser instance);