public IActionResult GetAllSpaces(string username)
 {
     return(Ok(_repository.GetAllSpaces(username)));
 }