Exemple #1
0
        public async Task <IActionResult> AddComments(string userId, [FromBody] Comment comment)
        {
            var response = await _employeeService.AddComments(userId, comment);

            if (response)
            {
                return(Ok("Succesfully Added Comments"));
            }

            else
            {
                return(NotFound("Unable to find matching record to add comments"));
            }
        }