public async Task <bool> AddKeyOutcomes(IEnumerable <KeyResultArea> entity) { Collection.InsertMany(entity); var superviorsAndClaims = new Dictionary <string, List <Claim> >(); superviorsAndClaims = FormatHodDetailsForClaims(entity, superviorsAndClaims); superviorsAndClaims = FormatAppraiserForClaims(entity, superviorsAndClaims); var result = await authService.AddUserClaimsByEmail(superviorsAndClaims); //var result2 = await SendCliamsToEmployeeSystemForSupervisors(superviorsAndClaims); return(true); }