public GetNameResponse AssignCustomerName(string name, FunctionType type) { GetNameResponse response = new GetNameResponse(); IGetName getName = GetNameRuleFactory.Create(type); response = getName.GetName(name); return(response); }