Example #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);
        }
        public async Task <int> CreateUserZohoContactAsync(UserZohoContact userContact)
        {
            var uStore = Store as SMSUserStore <ApplicationUser>;

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