public void Tpt_AddEmp(TptContractEmployee emp)
 {
     using (var context = new TptContext())
     {
         context.TptEmployees.Add(emp);
         context.SaveChanges();
     }
 }
 static void AddEmp_Tpt()
 {
     DAL.CodeFirsApproaches.TptContractEmployee emp = new DAL.CodeFirsApproaches.TptContractEmployee
     {
         Name = "ashok",
         MobileNo="9885955600",
         HourPay=500,
         HoursWorked=60
     };
     codeFirstOperations.Tpt_AddEmp(emp);
 }