public IActionResult Delete(string username) { var user = login.Get(username); if (user == null) { return(NotFound()); } login.Eliminar(user.UserName); return(NoContent()); }
public IActionResult Delete(string username) { var user = login.Get(username); if (user == null) { return(NotFound()); } login.Eliminar(user.UserName); return(NoContent()); }