public IActionResult Put(int id, StatusListVM statusListVM) { _repository.Update(id, statusListVM); return(Ok("Updated Succesfully")); }
public IActionResult Insert(StatusListVM statusListVM) { _repository.Insert(statusListVM); return(Ok("Insert Succesfully")); }