public async Task <IActionResult> addorupdate([FromBody] Category category)
 {
     try
     {
         string outputMessage = _storageStore.AddOrUpdateCategory(category);
         return(Ok(Json(new { message = outputMessage })));
     }catch (Exception ex)
     {
         return(BadRequest(Json(new { message = ex.Message })));
     }
 }