public static void AssignDefaultRoleForUser(string userName) { var dal = new UsersDal(); if (!dal.IsUserExists(userName)) { //add new user to table //and assign User Role to him dal.InsertUserWithDefaultRole(userName); } }