public async Task <IActionResult> Create(CreateProjectCommand project) { ResultResponse result = new ResultResponse(); project.Validate(); if (project.Valid) { result = await _projectApplicationService.Create(project); } else { result.ErrorMessages = project.Notifications; } return(Response(result)); }