// GET api/assignment
 public IEnumerable<AssignmentModel> Get()
 {
     using (BasicDao context = new BasicDao()) {
         var allAssignments = context.GetAll<ProjectAssignment>().Select(x => new AssignmentModel() { Id = x.Id, PersonId = x.PersonId, PersonUsername = x.Person.Username, ProjectId = x.ProjectId }).ToList();
         return allAssignments;
     }
 }