public Result AddContact(Contact contact) { var result = new Result(); var validationResult = ValidateContact(contact); if (!validationResult.IsSuccess) { return(validationResult); } dataAccess.AddContact(contact); return(result); }