Example #1
0
        public Result <Assignment> AddAssign(Assignment assignment)
        {
            var result = ValidateAssignment(assignment);

            if (result.Success)
            {
                assignRepo.AddAssign(assignment);
            }
            return(result);
        }