public void DokterBL_Delete_Test()
        {
            //  arrange
            _dokterDal.Stub(x => x.GetById("A")).Return(new DokterModel());

            //  act
            _dokterBL.Delete("A");

            //  assert
            _dokterDal.AssertWasCalled(x => x.Delete("A"));
        }
 public IHttpActionResult Delete(string id)
 {
     try
     {
         _dokterBL.Delete(id);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }