preparing to feed abstract

[FIXME] test won't end
This commit is contained in:
Paul Schneider 2018-07-15 06:47:41 +02:00
commit a3d3294061
33 changed files with 720 additions and 241 deletions

View file

@ -1,14 +1,14 @@
namespace Yavsc.Models.Auth
{
public class Me : IApplicationUser {
public Me(ApplicationUser user)
public Me(string userId, string userName, string email, string avatar, ILocation address, string gCalId)
{
Id = user.Id;
UserName = user.UserName;
EMail = user.Email;
Avatar = user.Avatar;
PostalAddress = user.PostalAddress;
DedicatedGoogleCalendar = user.DedicatedGoogleCalendar;
Id = userId;
UserName = userName;
EMail = email;
Avatar = avatar;
PostalAddress = address;
DedicatedGoogleCalendar = gCalId;
}
public string Id { get; set; }
public string UserName { get; set; }