Exemplo n.º 1
0
 /// <summary>
 /// Method that adds an files to the database
 /// </summary>
 /// <param name="file">
 /// File to be added
 /// </param>
 public void AddFile(File file)
 {
     _context.Add(file);
     _context.SaveChanges();
     return;
 }
 /// <summary>
 /// Method that adds an employee to the database
 /// </summary>
 /// <param name="employee">
 /// Employee to be added
 /// </param>
 public void AddEmployee(Employee employee)
 {
     _context.Add(employee);
     _context.SaveChanges();
     return;
 }