/// <summary>This method deletes the selected roles.</summary> /// <param name="deletedRolesWithAdminUser">The DeletedRolesWithAdminUser Object.</param> /// <returns>List of Roles Object.</returns> public List <AdminRoles> DeleteRoles(DeletedRolesWithAdminUser deletedRolesWithAdminUser) { Logging.LogDebugMessage("Method: DeleteRoles, MethodType: Post, Layer: RolesController, Parameters: DeletedUsersWithAdminUser = " + JsonConvert.SerializeObject(deletedRolesWithAdminUser)); using (RolesBL roleBL = new RolesBL()) { return(roleBL.DeleteRoles(deletedRolesWithAdminUser)); } }
public static FASM_Enums.InfoMessages DeleteRoles(Int32 RoleId) { RolesBL RolesBL = new RolesBL(); return(RolesBL.DeleteRoles(RoleId)); }