public AdminRoles GetRolesByName(string roleName) { Logging.LogDebugMessage("Method: GetRolesByName ,MethodType: Get, Layer: RolesController, Parameters: " + "roleName = " + roleName); using (RolesBL roleByName = new RolesBL()) { return(roleByName.GetRolesByName(roleName)); } }