Пример #1
0
        public async Task <int> AddNotes(tblNotes model)
        {
            int i = 0;

            if (ModelState.IsValid)
            {
                i = await noteService.AddNotes(model);
            }
            return(i);
        }