Beispiel #1
0
 public ApiAgentModel Get(ApiAgentModel agent)
 {
     /*ApiAgentModel agent = new ApiAgentModel
      * {
      *  ID = (int)ID,
      *  First_Name = "Pahansith",
      *  Last_Name = "Gunathilake",
      *  Age = 25,
      *  Address = "Matara",
      *  Date_of_Birth = new DateTime(1992,02,29),
      *  Email = "*****@*****.**",
      *  Mobile = 0714303351,
      *  Telephone = 0415689512
      * };
      *
      * return agent;*/
     return(_agentManager.Find <ApiAgentModel>(e => e.ID == agent.ID));
 }