Exemplo n.º 1
0
        public async Task <int> CreateUserZohoContactAsync(UserZohoContact userContact)
        {
            var aContext = Context as ACLDbContext;
            await aContext.UserZohoContacts.AddAsync(userContact);

            await aContext.SaveChangesAsync();

            return(userContact.Id);
        }
Exemplo n.º 2
0
        public async Task <int> CreateUserZohoContactAsync(UserZohoContact userContact)
        {
            var uStore = Store as SMSUserStore <ApplicationUser>;

            return(await uStore.CreateUserZohoContactAsync(userContact));
        }