public Employees Get(string code)
 {
     using (var db = new DB_Angular2Entities())
     {
         return(db.Employees.Where(_ => _.code.Equals(code)).FirstOrDefault());
     }
 }
 public IEnumerable <Employees> Get()
 {
     using (var db = new DB_Angular2Entities())
     {
         return(db.Employees.ToList());
     }
 }