public async Task <string> CreateProject(Project project, List <Stream> images) { string error = _projectValidation.ValidateProject(project); if (string.IsNullOrEmpty(error)) { IDocumentReference document = _collectionReference.CreateDocument(); await document.SetDataAsync(project); error = await AddProjectImages(document.Id, images); } return(error); }