public bool SaveRoleInformation(Roles[] Roledetail, SaveRole[] RoleData) { try { MasterBL bl = new MasterBL(); return(bl.SaveRoleInformation(Roledetail.ToList().First(), RoleData.ToList())); } catch (Exception) { throw; } }