public ApiControllerFile(ProjectFacade project, TypeFacade type, Resource resource)
			: base(project, type)
		{
			Resource = resource;
			OverwriteExistingFile = true;
			Template = new ApiControllerTemplate {File = this};
			Name = resource.Name;
			PageSpecificUsingStatements.Add("Voodoo.Messages");
			foreach (var verb in resource.Verbs)
			{
				addNamespaces(verb.OperationType);
				addNamespaces(verb.RequestType);
				addNamespaces(verb.ResponseType);
			}
		}
		public ApiControllerFile(ProjectFacade project, TypeFacade type)
			: base(project, type)
		{
			Template = new ApiControllerTemplate {File = this};
			Name = string.Format("{0}Controller", Name);
		}