public async Task <Response <bool> > Delete(Guid id) { var response = new Response <bool>(); try { // Deleting game and returning await _gameDomainService.DeleteAsync(id); return(response.SetResult(true)); } catch (EntityNotExistsException) { return(response.SetNotFound(Resources.CantFounGameWithGivenId)); } catch (Exception ex) { Console.Write(ex.Message); return(response.SetInternalServerError(Resources.UnexpectedErrorWhileDeletingGame)); } }