public async Task <IActionResult> DeleteRequest(string rrid)
        {
            List <RecordDetails> r = context.RecordDetails.Where(x => x.Rrid == rrid).ToList();

            foreach (RecordDetails current in r)
            {
                context.Remove(current);
            }
            EmployeeRequestRecord e = context.EmployeeRequestRecord.Where(x => x.Rrid == rrid).FirstOrDefault();

            context.Remove(e);

            await context.SaveChangesAsync();

            return(RedirectToAction("Index"));
        }