public void UpdateResearcher([FromBody] Researcher c) { ResearcherManager.Instance().UpdateResearcher(new Business.Logic.Researcher(c.ResearcherId, c.LastName, c.LastName, c.LastName, c.DepartmentNumber, c.Age, c.AcademicDegree, c.Position)); }
public int AddResearcher([FromBody] Researcher researcher) { return(ResearcherManager.Instance().AddResearcher(researcher.LastName, researcher.FirstName, researcher.MiddleName, researcher.DepartmentNumber, researcher.Age, researcher.AcademicDegree, researcher.Position)); }