Exemplo n.º 1
0
        public Result EditGroup(Group group)
        {
            var result = new Result();

            if (!ValidateGroupName(group.Name))
            {
                result.Errors.Add("Invalid group name");
                return(result);
            }

            dataAccess.EditGroup(group);
            return(result);
        }