public static RepoContracts.SignOn From_Service_To_Repo(this ServiceContracts.SignOn signOn, byte[] hashedData)
 {
     return(new RepoContracts.SignOn
     {
         AccNo = Guid.NewGuid(),
         HashedPassUsern = Convert.ToBase64String(hashedData),
         SignOnID = Guid.NewGuid()
     });
 }
Exemplo n.º 2
0
 public bool CreateAccount(ServiceContracts.SignOn signUp, Guid AccId)
 {
     return(_accService.InsertAccount(signUp.From_SignOn_To_Account(AccId)));
 }