public Analysis CreateAnalysis(string name, DateTime dateCreated, User createdBy)
        {
            Analysis analysis = new Analysis()
            {
                Name        = name,
                DateCreated = dateCreated
            };

            return(repo.CreateAnalysis(analysis, createdBy));
        }