public EditProjectResponse EditProject(EditProjectRequest request)
 {
     using (var tran = transactionCreator.GetTransaction())
     {
         var output = wrapped.EditProject(request);
         tran.Commit();
         return(output);
     }
 }
        public EditProjectResponse EditProject(EditProjectRequest request)
        {
            var validator = validatorFactory.GetValidator();
            var result    = validator.Validate(request);

            var output = result.IsSuccess ? wrapped.EditProject(request) : responseFactory();

            output.ValidationResult = result;

            return(output);
        }