public async Task <int> CreateCompanyClaimAsync(CompanyClaims claim) { var aContext = Context as ACLDbContext; await aContext.CompanyClaims.AddAsync(claim); await aContext.SaveChangesAsync(); return(claim.Id); }
public async Task <int> CreateCompanyClaimAsync(CompanyClaims claim) { var uStore = Store as SMSUserStore <ApplicationUser>; return(await uStore.CreateCompanyClaimAsync(claim)); }