public void DeleteUserTest() { SUser suser = new SUser(); suser.DeleteUser(Guid.Parse("727491a4-5c14-42cb-b0af-9f93456ecbaf")); Assert.Fail(); }
public string GetSuspendUser(string id) { SUser suser = new SUser(); var user = suser.GetUserById(Guid.Parse(id)); user.Status = State.Suspendido.ToString(); bool rta = suser.DeleteUser(Guid.Parse(id)); //suser.UpdateUser(user); if (rta) { return(id); } else { return(""); } }