/// <summary> /// Deletes a shift /// </summary> /// <param name="shift"></param> /// <returns></returns> public async Task <bool> DeleteShift(Shift shift) { if (shift.shiftID != int.MinValue) { bool IsSuccess = await da.DeleteShiftAsync(shift); return(IsSuccess); } return(false); }