コード例 #1
0
 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()
     });
 }
コード例 #2
0
 public bool CreateAccount(ServiceContracts.SignOn signUp, Guid AccId)
 {
     return(_accService.InsertAccount(signUp.From_SignOn_To_Account(AccId)));
 }