public async Task <IdentityResult> Register(AccountModel model)
 {
     try
     {
         return(await store.TryAddUserToDataBase(model));
     }
     catch (Exception msg)
     {
         return(IdentityResult.Failed());
     }
 }