// GET: Custome public ActionResult Index(string keywords = "") { var model = new ClientComposite(); model.ClientDTOList = this._IClientService.GetAll(keywords); return(View(model)); }
public static void Output() { var client = new ClientComposite(); client.SetData("Test", "Data"); client.PrintData(); client.SetData("Second Test", "Data1"); client.PrintData(); }
public static void Main(string[] args) { Console.WriteLine("Hello Patterns!\n"); ClientComposite.ExecuteScript(); ClientStrategy.ExecuteScript(); ClientDecorator.ExecuteScript(); ClientAbstractFactory.ExecuteScript(); ClientBridge.ExecuteScript(); ClientCommand.ExecuteScript(); ClientIterator.ExecuteScript(); ClientVisitor.ExecuteScript(); }
public ActionResult Detail(Guid id) { var dept = this._IClientService.GetByKey(id); dept.ContractDTOList = this._ContractService.GetAll(string.Empty, id); var activityCategories = this._DictionaryService.GetAll(Ingenious.Infrastructure.GlobalMessage.DataItem_ClientActivityCategory); ViewBag.ActivityCategories = new SelectList(activityCategories, "Id", "Name"); var activies = this._ActivityService.GetAll(dept.Id, this.User.Id); var model = new ClientComposite { Client = dept, ActivityDTOList = activies }; return(View(model)); }
public static void Main(string[] args) { Console.WriteLine("Hello World!"); ClientComposite.ExecuteScript(); }
static void Main(string[] args) { ClientComposite.Main(); CientComposite.Main(); }