public void Update(Category entity)
 {
     db.Update(entity);
 }
 public CategoryResponse(Category category)
 {
     this.Id = category.Id;
     this.Name = category.Name;
     this.Frequency = category.Frequency;
 }
 public void Create(Category entity)
 {
     db.Insert<Category>(entity);
 }