public override Task <Empty> AddCourse(CourseReply request, ServerCallContext context)
        {
            CoursePoco CoursePoco = new CoursePoco()
            {
                CourseID   = request.CourseID,
                CourseName = request.CourseName
            };

            _logic.Add(CoursePoco);

            return(Task.FromResult(new Empty()));
        }
 public IActionResult Post([FromBody] Course course)
 {
     _courseLogic.Add(course);
     return(Ok());
 }
 public ActionResult PostCourse([FromBody] Course[] pocos)
 {
     _logic.Add(pocos);
     return(Ok());
 }