Esempio n. 1
0
        public async Task <IActionResult> SelectCourse(SelectedBookVM book)
        {
            try
            {
                if (!ModelState.IsValid)
                {
                    return(null);
                }
                var bk = await bookServices.AddUserBook(book);

                return(Ok(bk));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }
Esempio n. 2
0
 public Task <object> AddUserBook(SelectedBookVM book)
 {
     throw new NotImplementedException();
 }